/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component,
    TouchableHighlight
} from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';
import {
    Actions
}from'react-native-router-flux';

export default class publishView extends Component {

    constructor(props) {
        super(props)
        // set state with passed in props
        this.state = {
            hide: false,
        }
        // bind functions
        this.dismissModal = this.dismissModal.bind(this)
    }

    dismissModal() {
        this.setState({hide: true})
    }

    render() {
            return (
                <View style={styles.container}>
                  <Text onPress={Actions.error}>
                      publish页面
                  </Text>
                </View>
            );
         
    }

}

const styles = StyleSheet.create({
  container: {
      flex: 1,
      justifyContent: 'center',
      alignItems: 'center',
      backgroundColor: '#F5FCFF',
  },
  welcome: {
    fontSize: 20,
    textAlign: 'center',
    margin: 10,
  },
  instructions: {
    textAlign: 'center',
    color: '#333333',
    marginBottom: 5,
  },
});
